package com.guigu.dealservice.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import lombok.Data;

import java.util.List;

@Data
public class OrderVo {
    //订单ID
    private Long orderId;
    //买家ID
    private Long buyerId;
    //卖家ID
    private Long sellerId;
    //设备ID
    private Long equipment;
    //订单状态
    private Integer status;
    //下单时间范围
    @JsonDeserialize(contentUsing = LocalDateTimeDeserializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private List<String> timeCreate;
}
